/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.cms.theme.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.modules.cms.theme.entity.CmsThemes;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 主题MAPPER接口
 *
 * @author Sawyer
 * @version 2020-11-21
 */
@Mapper
@Repository
public interface CmsThemesMapper extends BaseMapper<CmsThemes> {

    /**
     * 根据siteId获取对应的主题
     *
     * @param siteId 网站id
     * @return CmsTheme or null
     */
    CmsThemes findThemeBySiteId(String siteId);
}
